package ooday02;

public class Test {
    public static void main(String[] args) {
        Student zs=new Student("张三",25,"lf","jsd2303",
                "001");
        zs.eat();
        zs.sleep();
        zs.sayHi();
        zs.Study();

        Teacher ls = new Teacher("李四",28,"JMS",6000.0);
        ls.eat();
        ls.sleep();
        ls.sayHi();
        ls.teach();

        Doctor ww=new Doctor("王五",30,"SD","主治医师");
        ww.eat();
        ww.sleep();
        ww.sayHi();
        ww.cut();
    }
}
